package cn.edu.hizee.gps;


import cn.edu.hizee.gps.controller.UserController;
import cn.edu.hizee.gps.model.PushInfo;
import cn.edu.hizee.gps.util.SocketServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import javax.servlet.http.HttpServletResponse;

@EnableCaching
@SpringBootApplication
public class GpsApplication {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext  annotationConfigApplicationContext = new AnnotationConfigApplicationContext(GpsApplication.class);
        annotationConfigApplicationContext.getBean("aa");
        SpringApplication.run(GpsApplication.class, args);
        SocketServer server = new SocketServer();
        server.startSocketServer(81);
    }
}

